//1.定义项目经理类
// 属性：姓名 工号 工资 奖金
// 行为：工作work
public class ProjectManager extends Employee{
    private int bonus;

    @Override
    public void work() {
        System.out.println("项目经理正在监督项目");
    }

    public ProjectManager() {
    }

    public ProjectManager(String name, String workId, int bonus) {
        super(name, workId);
        this.bonus = bonus;
    }

    public int getBonus() {
        return bonus;
    }

    public void setBonus(int bonus) {
        this.bonus = bonus;
    }
}
